﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;
using TMS_Master.TmsEnum;

namespace TMS_Master.Dto
{
    public class Collect_FeeDto : AuditedEntityDto<Guid>
    {
        /// <summary>
        /// 业务单号
        /// </summary>
        [StringLength(30)]
        [Required]
        public string Business { get; set; }

        /// <summary>
        /// 外协单位
        /// </summary>
        [StringLength(20)]
        [Required]
        public string Outsource { get; set; }

        /// <summary>
        /// 支付方式
        /// </summary>
        [Required]
        public PayNames PayName { get; set; }

        /// <summary>
        /// 吨位
        /// </summary>
        [Required]
        public decimal Tonnage { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        [Required]
        public decimal Units { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        [Required]
        public decimal Money { get; set; }

        /// <summary>
        /// 业务日期
        /// </summary>
        [Required]
        public DateTime BusinDate { get; set; }

        /// <summary>
        /// 经办人
        /// </summary>
        [StringLength(20)]
        [Required]
        public string Operator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Required]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(200)]
        [Required]
        public string Remark { get; set; }

        /// <summary>
        /// 审批状态
        /// </summary>
        public Status IsState { get; set; }

        /// <summary>
        /// 审批人
        /// </summary>
        [StringLength(20)]
        public string Approver { get; set; }

        /// <summary>
        /// 核对时间 
        /// </summary>
        public DateTime ProofTime { get; set; }

        /// <summary>
        /// 删除状态
        /// </summary>
        public int IsDeleted { get; set; }
    }
}
